Utility.checkIsAdjacent Method
Check if 2 boundary are adjacent to each other.
Parameters
- bound1
-
Type: Rectangle
First object.
- bound2
-
Type: Rectangle
Second object.
- isVertical
-
Type: Boolean
True to see if they are adjacent vertically.
Return Value
Type: Boolean
True if adjacent